package facade;

/**
 * @author shenhan
 * @create 2020/4/3 16:18
 * @description
 */
public class Popcorn {
    private static Popcorn instance = new Popcorn();

    public static Popcorn getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("爆米花 打开");
    }

    public void close() {
        System.out.println("爆米花 关闭");
    }

    public void play() {
        System.out.println("爆米花 开始工作");
    }

    public void pause() {
        System.out.println("爆米花 暂停播放");
    }

}
